package com.ttl.bc.ic.item;

import java.io.Serializable;
import java.util.Date;

@SuppressWarnings("serial")
public class BCItemBean implements Serializable{
	
	private String code;
	private String name1;
	private String name2;	
	private String shortName;
	private String categoryCode;
	private String groupCode;
	private String brandCode;
	private String typeCode;
	private String formatCode;
	private String myGrade;
	
	private Float  unitType;
	
	private String defStkUnitCode;
	private String defSaleUnitCode;
	private String defBuyUnitCode;
	
	private String oppositeUnit;
	private String oppositeUnit2;
	
	private Float  opposite1Price;
	private Float  oppositeRate;
	
	private Date   lastUpdate;
	private Float  orderPoint;
	private Float  stockMin;
	private Float  stockMax;
	
	private Float  stockQty;
	private Float  averageCost;
	private Float  amount;		//=stockQty*averageCost
	
	private Double  lastBuyPrice;
	
	private String accGroupCode;
	private String myDescription;
	
	private String defBuyWHCode;
	private String defBuyShelf;
	
	private String defSaleWHCode;
	private String defSaleShelf;
	
	private String defBadWHCode;
	private String defBadShelf;
	
	private String defFGWHCode;
	private String defFGShelf;	
	
	private String defRepairWHCode;
	private String defRepairShelf;		
	
	private String defRawWHCode;
	private String defRawShelf;
	
	private Float  reserveQty;
	private Float  remainOutQty;
	private Float  remainInQty;
	private Float  activeStatus;
	
	private String creatorCode;
	private Date createDateTime;
	private String lastEditorCode;
	private Date lastEditDateT;	
	
	private String defFixUnitCode;
	private Float  lastBuyPriceHome;
	private String stockQtyWord;
	private Float  printOrdinal;
	
	private Date	lastSaleDate;
	private Date	lastBuyDate;
	private Float  lastSalePrice;
	private Float  lastSalePriceHome;
		
	private String ittl_row;
	private String ittl_shelf;
	
	private	Double	qtyReserve;//จำนวนที่จองไว้จากในใบขอเบิก พ.1 ที่ยังไม่ได้จ่าย, ไม่ใช่ฟิลด์ใน table 
	
	public Double getQtyReserve() {
		return qtyReserve;
	}
	public void setQtyReserve(Double qtyReserve) {
		this.qtyReserve = qtyReserve;
	}
	
	public String getCode() {		
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public String getName1() {
		return name1;
	}
	public void setName1(String name1) {
		this.name1 = name1;
	}
	public String getName2() {
		return name2;
	}
	public void setName2(String name2) {
		this.name2 = name2;
	}
	public String getShortName() {
		return shortName;
	}
	public void setShortName(String shortName) {
		this.shortName = shortName;
	}
	public String getCategoryCode() {
		return categoryCode;
	}
	public void setCategoryCode(String categoryCode) {
		this.categoryCode = categoryCode;
	}
	public String getGroupCode() {
		return groupCode;
	}
	public void setGroupCode(String groupCode) {
		this.groupCode = groupCode;
	}
	public String getBrandCode() {
		return brandCode;
	}
	public void setBrandCode(String brandCode) {
		this.brandCode = brandCode;
	}
	public String getTypeCode() {
		return typeCode;
	}
	public void setTypeCode(String typeCode) {
		this.typeCode = typeCode;
	}
	public String getFormatCode() {
		return formatCode;
	}
	public void setFormatCode(String formatCode) {
		this.formatCode = formatCode;
	}
	public String getMyGrade() {
		return myGrade;
	}
	public void setMyGrade(String myGrade) {
		this.myGrade = myGrade;
	}
	public Float getUnitType() {
		return unitType;
	}
	public void setUnitType(Float unitType) {
		this.unitType = unitType;
	}
	public String getDefStkUnitCode() {
		return defStkUnitCode;
	}
	public void setDefStkUnitCode(String defStkUnitCode) {
		this.defStkUnitCode = defStkUnitCode;
	}
	public String getDefSaleUnitCode() {
		return defSaleUnitCode;
	}
	public void setDefSaleUnitCode(String defSaleUnitCode) {
		this.defSaleUnitCode = defSaleUnitCode;
	}
	public String getDefBuyUnitCode() {
		return defBuyUnitCode;
	}
	public void setDefBuyUnitCode(String defBuyUnitCode) {
		this.defBuyUnitCode = defBuyUnitCode;
	}
	public String getOppositeUnit() {
		return oppositeUnit;
	}
	public void setOppositeUnit(String oppositeUnit) {
		this.oppositeUnit = oppositeUnit;
	}
	public String getOppositeUnit2() {
		return oppositeUnit2;
	}
	public void setOppositeUnit2(String oppositeUnit2) {
		this.oppositeUnit2 = oppositeUnit2;
	}
	public Float getOpposite1Price() {
		return opposite1Price;
	}
	public void setOpposite1Price(Float opposite1Price) {
		this.opposite1Price = opposite1Price;
	}
	public Float getOppositeRate() {
		return oppositeRate;
	}
	public void setOppositeRate(Float oppositeRate) {
		this.oppositeRate = oppositeRate;
	}
	public Date getLastUpdate() {
		return lastUpdate;
	}
	public void setLastUpdate(Date lastUpdate) {
		this.lastUpdate = lastUpdate;
	}
	public Float getOrderPoint() {
		return orderPoint;
	}
	public void setOrderPoint(Float orderPoint) {
		this.orderPoint = orderPoint;
	}
	public Float getStockMin() {
		return stockMin;
	}
	public void setStockMin(Float stockMin) {
		this.stockMin = stockMin;
	}
	public Float getStockMax() {
		return stockMax;
	}
	public void setStockMax(Float stockMax) {
		this.stockMax = stockMax;
	}
	public Float getStockQty() {
		return stockQty;
	}
	public void setStockQty(Float stockQty) {
		this.stockQty = stockQty;
	}
	public Float getAverageCost() {
		return averageCost;
	}
	public void setAverageCost(Float averageCost) {
		this.averageCost = averageCost;
	}
	public Float getAmount() {
		return amount;
	}
	public void setAmount(Float amount) {
		this.amount = amount;
	}
	public Double getLastBuyPrice() {
		return lastBuyPrice;
	}
	public void setLastBuyPrice(Double lastBuyPrice) {
		this.lastBuyPrice = lastBuyPrice;
	}
	public String getAccGroupCode() {
		return accGroupCode;
	}
	public void setAccGroupCode(String accGroupCode) {
		this.accGroupCode = accGroupCode;
	}
	public String getMyDescription() {
		return myDescription;
	}
	public void setMyDescription(String myDescription) {
		this.myDescription = myDescription;
	}
	public String getDefBuyWHCode() {
		return defBuyWHCode;
	}
	public void setDefBuyWHCode(String defBuyWHCode) {
		this.defBuyWHCode = defBuyWHCode;
	}
	public String getDefBuyShelf() {
		return defBuyShelf;
	}
	public void setDefBuyShelf(String defBuyShelf) {
		this.defBuyShelf = defBuyShelf;
	}
	public String getDefSaleWHCode() {
		return defSaleWHCode;
	}
	public void setDefSaleWHCode(String defSaleWHCode) {
		this.defSaleWHCode = defSaleWHCode;
	}
	public String getDefSaleShelf() {
		return defSaleShelf;
	}
	public void setDefSaleShelf(String defSaleShelf) {
		this.defSaleShelf = defSaleShelf;
	}
	public String getDefBadWHCode() {
		return defBadWHCode;
	}
	public void setDefBadWHCode(String defBadWHCode) {
		this.defBadWHCode = defBadWHCode;
	}
	public String getDefBadShelf() {
		return defBadShelf;
	}
	public void setDefBadShelf(String defBadShelf) {
		this.defBadShelf = defBadShelf;
	}
	public String getDefFGWHCode() {
		return defFGWHCode;
	}
	public void setDefFGWHCode(String defFGWHCode) {
		this.defFGWHCode = defFGWHCode;
	}
	public String getDefFGShelf() {
		return defFGShelf;
	}
	public void setDefFGShelf(String defFGShelf) {
		this.defFGShelf = defFGShelf;
	}
	public String getDefRepairWHCode() {
		return defRepairWHCode;
	}
	public void setDefRepairWHCode(String defRepairWHCode) {
		this.defRepairWHCode = defRepairWHCode;
	}
	public String getDefRepairShelf() {
		return defRepairShelf;
	}
	public void setDefRepairShelf(String defRepairShelf) {
		this.defRepairShelf = defRepairShelf;
	}
	public String getDefRawWHCode() {
		return defRawWHCode;
	}
	public void setDefRawWHCode(String defRawWHCode) {
		this.defRawWHCode = defRawWHCode;
	}
	public String getDefRawShelf() {
		return defRawShelf;
	}
	public void setDefRawShelf(String defRawShelf) {
		this.defRawShelf = defRawShelf;
	}
	public Float getReserveQty() {
		return reserveQty;
	}
	public void setReserveQty(Float reserveQty) {
		this.reserveQty = reserveQty;
	}
	public Float getRemainOutQty() {
		return remainOutQty;
	}
	public void setRemainOutQty(Float remainOutQty) {
		this.remainOutQty = remainOutQty;
	}
	public Float getRemainInQty() {
		return remainInQty;
	}
	public void setRemainInQty(Float remainInQty) {
		this.remainInQty = remainInQty;
	}
	public Float getActiveStatus() {
		return activeStatus;
	}
	public void setActiveStatus(Float activeStatus) {
		this.activeStatus = activeStatus;
	}
	public String getCreatorCode() {
		return creatorCode;
	}
	public void setCreatorCode(String creatorCode) {
		this.creatorCode = creatorCode;
	}
	public Date getCreateDateTime() {
		return createDateTime;
	}
	public void setCreateDateTime(Date createDateTime) {
		this.createDateTime = createDateTime;
	}
	public String getLastEditorCode() {
		return lastEditorCode;
	}
	public void setLastEditorCode(String lastEditorCode) {
		this.lastEditorCode = lastEditorCode;
	}
	public Date getLastEditDateT() {
		return lastEditDateT;
	}
	public void setLastEditDateT(Date lastEditDateT) {
		this.lastEditDateT = lastEditDateT;
	}
	public String getDefFixUnitCode() {
		return defFixUnitCode;
	}
	public void setDefFixUnitCode(String defFixUnitCode) {
		this.defFixUnitCode = defFixUnitCode;
	}
	public Float getLastBuyPriceHome() {
		return lastBuyPriceHome;
	}
	public void setLastBuyPriceHome(Float lastBuyPriceHome) {
		this.lastBuyPriceHome = lastBuyPriceHome;
	}
	public String getStockQtyWord() {
		return stockQtyWord;
	}
	public void setStockQtyWord(String stockQtyWord) {
		this.stockQtyWord = stockQtyWord;
	}
	public Float getPrintOrdinal() {
		return printOrdinal;
	}
	public void setPrintOrdinal(Float printOrdinal) {
		this.printOrdinal = printOrdinal;
	}
	public Date getLastSaleDate() {
		return lastSaleDate;
	}
	public void setLastSaleDate(Date lastSaleDate) {
		this.lastSaleDate = lastSaleDate;
	}
	public Date getLastBuyDate() {
		return lastBuyDate;
	}
	public void setLastBuyDate(Date lastBuyDate) {
		this.lastBuyDate = lastBuyDate;
	}
	public Float getLastSalePrice() {
		return lastSalePrice;
	}
	public void setLastSalePrice(Float lastSalePrice) {
		this.lastSalePrice = lastSalePrice;
	}
	public Float getLastSalePriceHome() {
		return lastSalePriceHome;
	}
	public void setLastSalePriceHome(Float lastSalePriceHome) {
		this.lastSalePriceHome = lastSalePriceHome;
	}
	public String getIttl_row() {
		return ittl_row;
	}
	public void setIttl_row(String ittlRow) {
		ittl_row = ittlRow;
	}
	public String getIttl_shelf() {
		return ittl_shelf;
	}
	public void setIttl_shelf(String ittlShelf) {
		ittl_shelf = ittlShelf;
	}
	
	
}
